const joi = require('joi');

const name = joi.string().required();
const alias = joi.string().alphanum().required();

exports.articleSchema = {
    body:{
        name,
        alias
    }
}

exports.delArticleSchema = {
    params:{
        id:joi.string().required().min(1)
    }
}
